package com.elminster.entity;

import java.sql.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractViewDailyAccountDetial entity provides the base persistence
 * definition of the ViewDailyAccountDetial entity. @author MyEclipse
 * Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractViewDailyAccountDetial implements
        java.io.Serializable {

    /**
     * 
     */
    private static final long serialVersionUID = 1L;
    // Fields
    private Integer id;
    private Double todaySummory;
    private Double totalSummory;
    private Integer userId;
    private Date calanderDate;

    // Constructors
    /** default constructor */
    public AbstractViewDailyAccountDetial() {
    }
    
    public AbstractViewDailyAccountDetial(Integer id) {
        super();
        this.id = id;
    }

    // Property accessors
    @Id
    @Column(name = "ID")
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    
    @Column(name = "TODAY_SUMMORY")
    public Double getTodaySummory() {
        return this.todaySummory;
    }

    public void setTodaySummory(Double todaySummory) {
        this.todaySummory = todaySummory;
    }

    @Column(name = "TOTAL_SUMMORY")
    public Double getTotalSummory() {
        return this.totalSummory;
    }

    public void setTotalSummory(Double totalSummory) {
        this.totalSummory = totalSummory;
    }

    @Column(name = "USER_ID")
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    @Column(name = "CALANDER_DATE")
    public Date getCalanderDate() {
        return calanderDate;
    }

    public void setCalanderDate(Date calanderDate) {
        this.calanderDate = calanderDate;
    }
}